package sync_log_array

import "go-kvsql/sync_log_table/sync_log"

type SyncLogArray []sync_log.SyncLog

func (s SyncLogArray) Len() int           { return len(s) }
func (s SyncLogArray) Swap(i, j int)      { s[i], s[j] = s[j], s[i] }
func (s SyncLogArray) Less(i, j int) bool { return s[i].LogId < s[j].LogId }
